#include <QtGui>
#ifndef MAINWINDOW_H
#define MAINWINDOW_H

class mainWindow : public QMainWindow
{
Q_OBJECT
public:
	mainWindow();
private slots:
	void openSlot();
	void saveSlot();
	void saveAsSlot();
	void exitSlot();
	void aboutSlot();
private:
	void createMenus();
	void createToolBar();
	void createStatusBar();
	void createDockWindow();

	void createActions();

	QMenu *fileMenu;
	QMenu *eidtMenu;
	QMenu *helpMenu;

	QToolBar *fileToolBar;
	QToolBar *editToolBar;

	QTextEdit *text;
	QTextEdit *textEdit;

	QAction *openAction;
	QAction *saveAction;
	QAction *saveAsAction;
	QAction *exitAction;

	QAction *copyAction;
	QAction *cutAction;
	QAction *pasteAction;


	QAction *aboutAction;
};

#endif
